from django.conf.urls.defaults import *

urlpatterns = patterns('admin.views',
  (r'^[index]?$', 'index'),
  #(r'^index$', 'index'),
  (r'^setup$', 'setup'),
  (r'^error$', 'error'),
  
  (r'^entry/create$', 'entry_create'),
  (r'^entry/list$', 'entry_list'),
  (r'^entry/edit/(?P<id>\d+)/?$', 'entry_edit'),
  (r'^entry/delete/(?P<id>\d+)/?$', 'entry_delete'),
  
  (r'^category/create$', 'category_create'),
  (r'^category/list$', 'category_list'),
  (r'^category/edit/(?P<id>\d+)/?$', 'category_edit'),
  (r'^category/delete/(?P<id>\d+)/?$', 'category_delete'),
)